package code;

public class QuestionNum_03_10 {
    public static void main(String[] args) {
        double mountHigh = 8848;
        int foldCount = 0;
        double Thickness = 0.01;
        while(true){
            if((Thickness *= 2) >= 8848){
                break;
            }
//            System.out.println("此时的厚度:"+Thickness);
            foldCount++;
        }
        foldCount += 1;
        System.out.println("纸张折叠了"+foldCount+"次可达到珠穆朗玛峰的高度");
    }
}
